package cn.rdq.dao;

import cn.rdq.api.dto.BlogCommentInfoDto;
import cn.rdq.api.po.BlogComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BlogCommentMapper extends BaseMapper<BlogComment> {

    List<BlogCommentInfoDto> listRootComment(Long blogId);

    List<BlogCommentInfoDto> listByRootCommentId(Long rootParentId);

}
